home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / sketch / source / appleevent / oslclassdocument.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-25  |  1012 b   |  32 lines

  1. /****************************************************************************
  2.  * 
  3.  * OSLClassDocument.h
  4.  * 
  5.  ****************************************************************************/
  6.  
  7. #ifndef    __OSLCLASSDOCUMENT__
  8. #define    __OSLCLASSDOCUMENT__
  9.  
  10. // ----------------------------------------------------------------------------
  11.  
  12. OSErr     InstallDocumentAccessors    (void);
  13.  
  14. OSErr        DocumentEventDispatcher        (AEDesc *token, const AppleEvent *message, AppleEvent *reply, long refcon);
  15.  
  16. // ----------------------------------------------------------------------------
  17.  
  18. OSErr    GetDataFromDocument      (AEDesc *tokenOrTokenList, AEDesc *desiredTypes, AEDesc *data);
  19.  
  20. pascal OSErr 
  21. PropertyFromDocumentAccessor (DescType        desiredClass,
  22.                                  const AEDesc*        containerToken,
  23.                                          DescType        containerClass,
  24.                                          DescType        keyForm,
  25.                                 const AEDesc*        keyData,
  26.                                          AEDesc*        resultToken,
  27.                                          long             refCon);
  28.  
  29. // ----------------------------------------------------------------------------
  30.  
  31. #endif
  32.